﻿using System;
using System.Collections.Generic;
//using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.Sql;
using System.Data.SqlClient;
using System.Data;

namespace IntelligentCMS
{
    /// <summary>
    /// The default page for CMS placeholders. Basically, it will accept anything, and attempt to format it according to CSS files and theming.
    /// </summary>
    public partial class _Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Request.PathInfo.Length > 0)
            {
                // Get the value to lookup in the URL Rewrite Table.
                string lookup = Request.PathInfo.Substring(1);

            }

            thePanel.Controls.Add(CMSMain.RenderPage(23423423));
            //thePanel.Controls.Add(CMSMain.RenderPage2(23423423));
           
        }

        private CMSErrorBox theErrorBox;

        private string url = string.Empty;

        protected void thePanel_Load(object sender, EventArgs e)
        {

            

            

        }

        


        private List<iCMSControl> theControls = new List<iCMSControl>();

        protected void SubmitButton_Click(object sender, EventArgs e)
        {
           



        }
    }
}
